package tetris;

import static org.junit.Assert.*;

import javax.swing.JFrame;

import org.junit.Test;

public class InsertNameTest {

	@Test
	public void testRun() {
		InsertName in = new InsertName();
		try{
			
			InsertName frame = new InsertName();
			in.setVisible(true);
		}
		catch(Exception e){
			e.printStackTrace();
		}
		
	}

	@Test
	public void testInsertName() {
		InsertName in = new InsertName();
		try{
			
			in.setDefaultCloseOperation(JFrame.HIDE_ON_CLOSE);
			in.setBounds(100, 100, 250,150);
			in.setUndecorated(true);
			in.setLocationRelativeTo(null);
			
		}
		catch(Exception e){
		e.printStackTrace();	
		}
		
	}

}
